package org.example.entity;

import java.util.Date;

/**
 * @BelongsProject: StudentSystem
 * @BelongsPackage: org.example.entity
 * @Author: StarBonny
 * @CreateTime: 2024-12-24  11:47
 * @Description: TODO
 * @Version: 1.0
 */
public class Teacher {
    private int teacherId;
    private String name;
    private String sex;
    private int age;
    private String phone;
    private Date submitDate;
    private int status;

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId=" + teacherId +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", phone='" + phone + '\'' +
                ", submitDate=" + submitDate +
                ", status=" + status +
                '}';
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(Date submitDate) {
        this.submitDate = submitDate;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Teacher() {}

    public Teacher(int teacherId, String name, String sex, int age, String phone, Date submitDate, int status) {
        this.teacherId = teacherId;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.phone = phone;
        this.submitDate = submitDate;
        this.status = status;
    }
}
